<template>
  <div id="app">
     
    <router-view/>
    <FooterNav v-if="is_show"> </FooterNav>

  </div>
</template>

<script>
 import FooterNav from './components/FooterNav.vue'

export default {
 
  props:[],
  components: {
   FooterNav
  },
  data() {
    return {
     is_show:true
    };
  },
  
  methods: {},
 
  computed: {},
 
  watch: {},
 
  filters: {},
 
  beforeCreate() {},
 
  created() {},
 
  beforeMount() {},
 
  mounted() {
    this.eventbus.$on('footnav',(flag)=>{
      this.is_show = flag
    })

  },
 
  beforeUpdate() {},
 
  updated() {},
 
  beforeDestroy() {},
 
  destroyed() {},
}
</script>




<style lang="scss">
 @import "./assets/scss/reset.scss";
</style>